﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ProjectThuCung.Models
{
    public class Group
    {
        [Key]
        public int ID { get; set; }

        [Required]
        public int UserId { get; set; }

        [Required]
        public int GroupID { get; set; }

        //Liên kết tạo phân quyền
        public virtual GroupProfile GroupProfile { get; set; }
        public virtual UserProfile UserProfile { get; set; }
    }
}